﻿using OccurrencesCore.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OccurrencesCore.Repository
{
    public partial class WorkflowTaskRepository
    {        
        internal List<WorkflowTask> FindByTaskTypeAndOccurrenceId(int workflowTaskTypeId, int occurrenceId)
        {
            return this._Repository.Where(t => t.WorkflowTaskTypeId == workflowTaskTypeId && t.OccurrenceId == occurrenceId).ToList();
        }
    }
}
